import React, {Component} from "react";
import {
	ScrollView,
	Text,
} from "react-native";
import Icon from 'react-native-vector-icons/FontAwesome';
import HeadLayOut from "../components/personal/HeadLayOut";//用户名和积分的头部
import CustomTitle from '../components/public/CustomTitle';
import ImageArray from "../components/public/ImageArray";
import TitleArray from "../components/personal/TitleArray";
import MyOrder from "../components/order/MyOrder";

export default class Personal extends Component {

	static navigationOptions = {
		tabBarLabel: "个人中心",
		tabBarIcon: ({tintColor}) => (
			<Icon name="navicon" size={22} style={{color: gColor.color2}} />
		),
		headerTintColor:gColor.whiteColor,
		headerStyle:{
			backgroundColor:gColor.importColor,
		},
		title:'个人中心'		
	}

	constructor(props) {
		super(props);
		
	}

	render() {
		return (
			<ScrollView>
				<HeadLayOut  Per={true} navigation={this.props.navigation} />
				<MyOrder nav={this.props.navigation} />
				<TitleArray  navigation={this.props.navigation} />
			</ScrollView>
		);
	}
}